﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RegisterExpert.aspx.cs" Inherits="RN.ERP.Web.RegisterExpert" %>

<%@ Register Src="UserControl/UCUserRight.ascx" TagName="UCUserRight" TagPrefix="ucUserRight" %>
<%@ Register Src="~/UserControl/UCArea.ascx" TagName="UCArea" TagPrefix="ucArea" %>
<%@ Register Src="~/UserControl/UCExpertDB.ascx" TagName="UCDb" TagPrefix="UCDb" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户注册</title>
    
    <link href="Styles/skins/blue/css/kendo.common.min.css" type="text/css" rel="stylesheet" />
<%--    <link href="Styles/skins/blue/css/kendo.default.min.css" type="text/css" rel="stylesheet" />--%>
        <link href="Styles/skins/blue/css/kendo.blueopal.min.css" type="text/css" rel="stylesheet" />
    <link href="Scripts/ligerUI/skins/Aqua/css/ligerui-all.css" rel="Stylesheet" type="text/css" />
    <link href="Styles/skins/expert/css/style_register.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="Scripts/jquery.min.js"></script>
    <script type="text/javascript" src="Scripts/ligerUI/js/ligerui.min.js"></script>
     <script type="text/javascript" language="javascript" src="Scripts/kendo.web.min.js"></script>

     <script type="text/javascript">
         $(document).ready(function () {
             $("#tabstrip").kendoTabStrip({
                 animation: {
                     open: {
                         effects: "fadeIn"
                     }
                 }
             });

             var validator = $("#CorpReg").kendoValidator().data("kendoValidator");
             var tabStrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
             tabStrip.remove("li:first");
             $("#button").click(function () {
                 if (validator.validate()) {
                     var userName = $("#userName").val();
                     var orgCode = $("#orgCode").val();
                     var corpType = $("#DDLCorpUserType").val();
                     var dogId = $("#hdnDogid").val();
                     $.ajax({
                         async: false,
                         url: "RegisterExpert.aspx/VerifyCorpReg",
                         data: "{ 'userName':'" + userName + "','orgCode':'" + orgCode + "', 'corpType':'" + corpType + "', 'dogId':'" + dogId + "'}",
                         type: "post",
                         cache: false,
                         contentType: "application/json; charset=utf-8",
                         dataType: "json",
                         success: function (data) {
                             var json = eval('(' + data.d + ')');
                             if (json.status1 == "-1") {
                                 verify = false;
                                 $.ligerDialog.warn('用户名已存在');
                                 return;
                             }
                             if (json.status2 == "-2") {
                                 verify = false;
                                 $.ligerDialog.warn('组织机构代码已存在');
                                 return;
                             }
                             $.ajax({
                                 async: false,
                                 url: "Handlers/RegistryHandler.ashx",
                                 data: $('#CorpReg').serialize(),
                                 type: "post",
                                 cache: false,
                                 success: function (data) {
                                     if (data.result == 1) {
                                         $.ligerDialog.success('注册成功', 300, 150, '提示');
                                         window.location.href("Login.aspx");
                                     }
                                     else {
                                         $.ligerDialog.error('注册失败:' + data.message);
                                     }
                                 }
                             });
                         }
                     });
                 }
             });

             var expvalidator = $("#ExpertReg").kendoValidator({
                 messages: {
                     custom: "无效的身份证号码",
                     required: "请输入身份证号码",
                     passreq: "请输入密码",
                     password: "密码需含字母和数字,至少六位",
                     expire: "年龄等于或超过65岁的不得注册"
                 },
                 rules: {
                     custom: function (input) {
                         if (input.is("[name=idCard]")) {
                             var value = input.val();
                             var message = "Test";
                             return isIdCardNo(value, message);
                         } else {
                             return true;
                         }
                     },
                     expire: function (input) {
                         if (input.is("[name=idCard]")) {
                             var value = input.val();
                             var message = "";
                             if (isIdCardNo(value, message)) {
                                 return isExpire(value);
                             }
                         } else {
                             return true;
                         }
                     },
                     passreq: function (input) {
                         if (input.is("[type=passWord]")) {
                             var value = input.val();
                             return $.trim(value) !== "";
                         }
                         else {
                             return true;
                         }
                     },
                     password: function (input) {
                         if (input.is("[type=password]")) {
                             var value = input.val();
                             return isPassWord(value);
                         } else {
                             return true;
                         }
                     }
                 }
             }).data("kendoValidator");

             $("#exbutton").click(function () {
                 if ($("#ucDbExp_lblName").html() == "请选择") {
                     $.ligerDialog.warn('请选择专家库别');
                     return;
                 }
                 else if ($("#ucDbExp_hidCode").val().length <= 2) {
                     $.ligerDialog.warn('无法选择分库');
                     return;
                 }
                 if (expvalidator.validate()) {
                     if ($("#exbutton").attr("ischeck") == "false") {
                         return;
                     }
                     var exMobile = $("#exMobile").val();
                     var idCard = $("#idCard").val();
                     var password = $("#passWord").val();
                     $.ajax({
                         async: false,
                         url: "RegisterExpert.aspx/VerifyExpertReg",
                         data: "{ 'exMobile':'" + exMobile + "','idCard':'" + idCard + "'}",
                         type: "post",
                         cache: false,
                         contentType: "application/json; charset=utf-8",
                         dataType: "json",
                         success: function (data) {
                             var json = eval('(' + data.d + ')');
                             if (json.status1 == "-1") {
                                 verify = false;
                                 $.ligerDialog.warn('手机号码已存在');
                                 return;
                             }
                             if (json.status2 == "-2") {
                                 verify = false;
                                 $.ligerDialog.warn('身份证号码已存在');
                                 return;
                             }
                             $.ajax({
                                 async: false,
                                 url: "Handlers/RegistryHandler.ashx",
                                 data: $('#ExpertReg').serialize(),
                                 type: "post",
                                 cache: false,
                                 success: function (data) {
                                     if (data.result == 1) {
                                         $.ligerDialog.success('注册成功', 300, 150, '提示');
                                         //window.location.href("LoginExpert.aspx");
                                         ////自动登录
                                         $.ajax({
                                             type: 'post',
                                             cache: false,
                                             dataType: 'text',
                                             url: 'Handlers/LoginExpertHandler.ashx',
                                             data: { idnum: idCard, passWord: password, type: "Expert" },
                                             success: function (result) {
                                                 if (result == "success") {
                                                     parent.document.location.href = "Mainframe.aspx";
                                                 }
                                                 else {
                                                     _dialog("error", result);
                                                     //radalert(msg, 300, 150, '提示');
                                                 }
                                             },
                                             error: function () {
                                                 $.ligerDialog.error("登录失败，请与客服联系！");
                                             },
                                             beforeSend: function () {
                                                 $.ligerDialog.warn("注册成功,正在登录中,请稍后...");
                                             },
                                             complete: function () {
                                                 $.ligerDialog.closeWaitting();
                                             }
                                         });

                                     }
                                     else {
                                         $.ligerDialog.error('注册失败:' + data.message);
                                     }
                                 }
                             });
                         }
                     });
                 }
             });
         });

         $(function () {
             var count;
             var timeOut;
             ButtonCount = function () {
                 if (count == 0) {
                     clearTimeout(timeOut);
                     $("#exbutton").attr("ischeck", "true");
                     $("#time").html("");
                 }
                 else {
                     count--;
                     $("#time").html("还需等待(" + count.toString() + ")秒才可注册");
                     setTimeout(ButtonCount, 1000);
                 }
             }
             $("#checkbox").click(function () {
                 if ($("#checkbox").attr("checked") == "checked") {
                     count = 10;
                     timeOut = setTimeout(ButtonCount, 1000);
                 }
             });
             $("#back").click(function () {
                 window.location.href = "Login.aspx";
             });
             $("#expasswordR").blur(function () {
                 var newpass = $(this).val().trim();
                 var password = $("#passWord").val().trim();
                 if (newpass.toLowerCase() != password.toLowerCase()) {
                     $.ligerDialog.error('密码不一致');
                 }
             });
             $("#orgCode").blur(function () {
                 var orgCode = $(this).val().trim();
                 if (orgCode != "") {
                     $.getJSON("Handlers/EnterpriseCorpInfoHandler.ashx", { "action": "CheckCorpByOrgCode", "data": orgCode, "rand": Math.random() }, function (data) {
                         if (data.Result) {
                             //组织机构代码已注册
                             $.ligerDialog.confirm(data.Message + '，是否为同一家企业？', GetCorpInofo);
                             return false;
                         }
                         function GetCorpInofo(arg) {
                             if (arg) {
                                 //同一家企业则dogid取已注册企业的dogid
                                 $("#hdnDogid").val(data.Dogid);

                             }
                             else {
                                 $("#orgCode").val("");
                                 $.ligerDialog.error(data.Message + '，不能重复注册');
                                 return false;
                             }
                         }
                     });
                 }
             }
             );
         });

         $(function () {
             $("#btnSendVerCode").click(sendCode);
             $("#exback").click(function () {
                 window.location.href = "LoginExpert.aspx";
             });
             $("#exorgCode").blur(function () {
                 var orgCode = $(this).val().trim();
                 if (orgCode != "") {
                     $.getJSON("Handlers/EnterpriseCorpInfoHandler.ashx", { "action": "CheckCorpByOrgCode", "data": orgCode, "rand": Math.random() }, function (data) {
                         if (data.Result) {
                             //组织机构代码已注册
                             $.ligerDialog.confirm(data.Message + '，是否为同一家企业？', GetCorpInofo);
                             return false;
                         }
                         function GetCorpInofo(arg) {
                             if (arg) {
                                 //同一家企业则dogid取已注册企业的dogid
                                 $("#hdnexDogid").val(data.Dogid);
                             }
                             else {
                                 return false;
                             }
                         }
                     });
                 }
             }
             );
         });

         function isIdCardNo(num, message) {
             num = num.toUpperCase();
             //身份证号码为15位或者18位，15位时全为数字，18位前17位为数字，最后一位是校验位，可能为数字或字符X。   
             if (!(/(^\d{15}$)|(^\d{17}([0-9]|X)$)/.test(num))) {
                 message = '输入的身份证号长度不对，或者号码不符合规定！/n15位号码应全为数字，18位号码末位可以为数字或X。';
                 return false;
             }
             //校验位按照ISO 7064:1983.MOD 11-2的规定生成，X可以认为是数字10。 
             //下面分别分析出生日期和校验位 
             var len, re;
             len = num.length;
             if (len == 15) {
//                 re = new RegExp(/^(\d{6})(\d{2})(\d{2})(\d{2})(\d{3})$/);
//                 var arrSplit = num.match(re);

//                 //检查生日日期是否正确 
//                 var dtmBirth = new Date('19' + arrSplit[2] + '/' + arrSplit[3] + '/' + arrSplit[4]);
//                 var bGoodDay;
//                 bGoodDay = (dtmBirth.getYear() == Number(arrSplit[2])) && ((dtmBirth.getMonth() + 1) == Number(arrSplit[3])) && (dtmBirth.getDate() == Number(arrSplit[4]));
//                 if (!bGoodDay) {
//                     //alert("输入的身份证号里出生日期不对!");
//                     message = '输入的身份证号里出生日期不对！';
                     return false;
//                 }
//                 else {
//                     //将15位身份证转成18位 
//                     //校验位按照ISO 7064:1983.MOD 11-2的规定生成，X可以认为是数字10。 
//                     var arrInt = new Array(7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2);
//                     var arrCh = new Array('1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2');
//                     var nTemp = 0, i;
//                     num = num.substr(0, 6) + '19' + num.substr(6, num.length - 6);
//                     for (i = 0; i < 17; i++) {
//                         nTemp += num.substr(i, 1) * arrInt[i];
//                     }
//                     num += arrCh[nTemp % 11];
//                     return num;
//                 }
             }
             if (len == 18) {
                 re = new RegExp(/^(\d{6})(\d{4})(\d{2})(\d{2})(\d{3})([0-9]|X)$/);
                 var arrSplit = num.match(re);

                 //检查生日日期是否正确 
                 var dtmBirth = new Date(arrSplit[2] + "/" + arrSplit[3] + "/" + arrSplit[4]);
                 var bGoodDay;
                 bGoodDay = (dtmBirth.getFullYear() == Number(arrSplit[2])) && ((dtmBirth.getMonth() + 1) == Number(arrSplit[3])) && (dtmBirth.getDate() == Number(arrSplit[4]));
                 if (!bGoodDay) {

                     //alert("输入的身份证号里出生日期不对！");
                     message = '输入的身份证号里出生日期不对！';
                     return false;
                 }
                 else {
                     //检验18位身份证的校验码是否正确。 
                     //校验位按照ISO 7064:1983.MOD 11-2的规定生成，X可以认为是数字10。 
                     var valnum;
                     var arrInt = new Array(7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2);
                     var arrCh = new Array('1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2');
                     var nTemp = 0, i;
                     for (i = 0; i < 17; i++) {
                         nTemp += num.substr(i, 1) * arrInt[i];
                     }
                     valnum = arrCh[nTemp % 11];
                     if (valnum != num.substr(17, 1)) {
                         message = '18位身份证的校验码不正确！应该为：' + valnum;
                         return false;
                     }
                     return num;
                 }
             }
             return false;
         }

         function isExpire(s) {
             //获取年龄
             var myDate = new Date();
             var month = myDate.getMonth() + 1;
             var day = myDate.getDate();

             var age = myDate.getFullYear() - s.substring(6, 10) - 1;
             if (s.substring(10, 12) < month || s.substring(10, 12) == month && s.substring(12, 14) <= day) {
                 age++;
             }
             if (age >= 65) {
                 return false;
             }
             else {
                 return true;
             } 
         }

         function isPassWord(s) {
             var patrn = /^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9]{6,}$/;
             if (!patrn.exec(s)) return false
             return true
         }

         ////全角转半角
         function CtoH(obj) {
             var str = obj.value;
             var result = "";
             for (var i = 0; i < str.length; i++) {
                 if (str.charCodeAt(i) == 12288) {
                     result += String.fromCharCode(str.charCodeAt(i) - 12256);
                     continue;
                 }
                 if (str.charCodeAt(i) > 65280 && str.charCodeAt(i) < 65375) result += String.fromCharCode(str.charCodeAt(i) - 65248);
                 else result += String.fromCharCode(str.charCodeAt(i));
             }
             obj.value = result;
         }

         ////发送验证码
         function sendCode() {
             var _self = $("#btnSendVerCode");
             var phoneNum = $.trim($("#exMobile").val());
             if (!phoneNum) {
                 $.ligerDialog.alert("请输入移动电话");
                 return;
             }
             _self.unbind("click");

             $.get("Handlers/ExpertAccountHandler.ashx", { func: "getvercode", phone: phoneNum, funccode: "expertRegistry",stamp:new Date() - 0 }, function (rst) {
                 if (!rst.Success) {
                     $.ligerDialog.alert(rst.Msg);
                 } 
             }, "json");
             PhoneSendTimer(_self, function () {
                 _self.click(sendCode);
             });
         }

         /**
         *发送手机号码的计时器
         *obj 点击的按钮
         *cb 倒计时结束后的回调
         */
         function PhoneSendTimer(obj, cb) {
             if (!obj) return;
             obj = $(obj).addClass("disabled");
             var time = 60, oriText = obj.val();

             (function f() {
                 if (time-- <= 0) {
                     obj.removeClass("disabled");
                     obj.val(oriText);
                     cb();
                 } else {
                     setTimeout(function () {
                         obj.val(time + "秒后可重新发送");
                         f();
                     }, 1000);
                 }
             } ())
         }
                   
     </script>
     <style type="text/css">
     #tabstrip{ background:none;}
     #notice { min-height:300px;}
     </style>
</head>
<body>
    <div class="header">
        <div class="logo">
           <%-- <img src="images/logo_login.jpg" width="804" height="97" alt="" />--%>
         </div>
    </div>
        <div class="tab_wm">
        <div id="tabstrip" >
            <ul class="tabstrip_top">
                <li>企业用户注册 </li>
                <li class="k-state-active">评标专家注册</li>
            </ul>
    <!--企业注册-->
        <div class="content" id="content">
            <div>
    <form id="CorpReg" runat="server">
    <input name="action" id="action" type="hidden" value="Corp" />
        
        <div class="libg" >
            <div class="tle">
                企业用户注册</div>
            <div class="con_nr">
                <div class="buzhou">
                    <ul>
                        <li class="li01">
                            <img src="images/h01.jpg" width="142" height="52" alt="" /></li>
                        <li class="li_arrow">
                            <img src="images/arrow01.jpg" width="35" height="24" alt="" /></li>
                        <li class="li02">
                            <img src="images/02.jpg" width="142" height="52" alt="" /></li>
                        <li class="li_arrow">
                            <img src="images/arrow02.jpg" width="35" height="24" /></li>
                        <li class="li03">
                            <img src="images/03.jpg" width="142" height="52" alt="" /></li>
                    </ul>
                    <div class="clear">
                    </div>
                </div>
                <asp:HiddenField ID="hdnDogid" runat="server" />
                <ul >
                    <li class="con_main">
                        <div class="con_l">
                            企业类型</div>
                        <div class="con_r">
                            <div class="qy_type">
                                <span class="qy_type_l"></span><span class="qy_type_r">
<%--                                    <select name="" style="width: 105px; border: 0; overflow: hidden; *border: white;">
                                        <option>-请选择-</option>
                                    </select>--%>
                                    <asp:DropDownList ID="DDLCorpUserType" Width="105px" runat="server" AutoPostBack="false" required validationMessage="请选择企业类型">
                                                </asp:DropDownList>
                                    </span></div>
                            <div class="zuiyou">
                            <span class="k-invalid-msg" data-for="DDLCorpUserType"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            企业名称</div>
                        <div class="con_r">
                            <div class="qy_type_kuan">
                                <span class="qy_type_l"></span><span class="qy_type_kuanr">
                                   <input name="corpName" id="corpName" type="text" style="width: 315px" pattern="^[a-zA-Z\u4e00-\u9fa5()（）]+$" required validationMessage="请输入公司名称" data-pattern-msg="只能输入汉字、字母、小括号"/>                                                              
                             </span>
                            </div>
                            <div class="zuiyou">
                              <span class="k-invalid-msg" data-for="corpName"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            所有权性质</div>
                        <div class="con_r">
                            <div class="qy_type">
                                <span class="qy_type_l"></span><span class="qy_type_r">
<%--                                    <select name="" style="width: 105px">
                                        <option>-请选择-</option>
                                    </select>--%>
                            <asp:DropDownList ID="DDlCorpType" Width="105px" runat="server" required validationMessage="请选择所有权性质">
                            </asp:DropDownList>                                   
                                    </span>
                            </div>
                            <div class="zuiyou">
                            <span class="k-invalid-msg" data-for="DDlCorpType"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            组织机构代码</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="orgCode" id="orgCode" type="text" style="width: 275px" pattern="\d{8}[-][\d|X]" required validationMessage="请输入组织机构代码"  data-pattern-msg="无效的组织机构代码"/></span>
                            </div>
                            <div class="zuiyou">
                             <span class="k-invalid-msg" data-for="orgCode"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            营业执照字号</div>
                        <div class="con_r" id="test">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="bussinessNum" id="bussinessNum"  type="text" style="width: 275px" pattern="^[0-9]*$" required validationMessage="请输入营业执照号码"  data-pattern-msg="无效的营业执照号码" /></span>
                            </div>
                            <div class="zuiyou">
                              <span class="k-invalid-msg" data-for="bussinessNum"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            请输入你的用户名</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="userName" id="userName" type="text" style="width: 275px" required validationMessage="请输入用户名"/></span>
                            </div>
                            <div class="zuiyou">
                           <span class="k-invalid-msg" data-for="userName"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            设定一个密码</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="passWord" type="password" style="width: 275px" required validationMessage="请输入密码" /></span>
                            </div>
                            <div class="zuiyou">
                            <span class="k-invalid-msg" data-for="passWord"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            请再次输入密码确认</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="passwordR" id="passwordR" type="password" style="width: 275px" required validationMessage="请再次输入密码"/></span>
                            </div>
                            <div class="zuiyou">
                             <span class="k-invalid-msg" data-for="passwordR"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            企业注册地</div>
                        <div class="con_r">
                            <div class="qy_usual"><ucArea:ucArea ID="ucArea" Name="ucArea" runat="server" />
                                </div>
                            <div class="zuiyou">
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            电子邮箱地址</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="email" id="email" type="email" style="width: 275px;" required validationMessage="请输入邮箱地址" data-email-msg="邮箱格式无效"/></span>
                            </div>
                            <div class="zuiyou">
                             <span class="k-invalid-msg" data-for="email"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            联系电话</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="linkTel" id="linkTel" type="text" style="width: 275px;" pattern="(\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$" required validationMessage="请输入联系电话"  data-pattern-msg="无效的联系号码" /></span>
                            </div>
                            <div class="zuiyou">
                            <span class="k-invalid-msg" data-for="linkTel"></span>
                            </div>
                        </div>
                    </li>
                </ul>
                <div class="zhuyi">
                    <div class="con_l">
                    </div>
                    <div class="zhuyi_nr">
                        <h2>
                            注册网站用户，需认真填写上表:</h2>
                        用户要自觉遵守国家有关法律、法规，遵守网上道德，对于发布违法、不健康或不真实信息的用户，本站有权删除其所有发布信息，并拒绝其使用该用户名。</div>

                    <div class="clear">
                    </div>
                </div>
                <div class="zhuyi">
                    <div class="con_l">
                    </div>
                    <div class="tongyi" style="padding-top: 4px;">
                        <input name="checkbox" type="checkbox" value="name" checked="checked" required validationMessage="请接受服务条款"  />我已阅读上述注意事项，同意并接受该事项！</div>
                        <span align="center"class="k-invalid-msg" data-for="checkbox"></span>
                    <div class="clear">
                      
                    </div>
                </div>
                <div class="zhuyi">
                    <div class="con_l">
                    </div>
                    <div class="zhuce">
                        <a href="javascript:void(0);">
<%--                      <input id="button" name="button" type="button" src="images/zhuceicon.jpg" width="242" height="54"  />--%>
                           <img id="button" name="button" src="images/zhuceicon.jpg" width="242" height="54"  />
<%--                          <input id="button" name="button" type="button" value="注册"/>--%>

                           </a>
                                                 
                        </div>
                      <div class="goback">

                      <img id="back" name="back" src="images/back.jpg" alt=""width="102" height="54"  />
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="clear">
                </div>
               
            </div>
            <div>
                <img src="images/foot01.jpg" width="700" height="6" /></div>
        </div>
                <telerik:RadScriptManager ID="RadScriptManager1" runat="server">      
    </telerik:RadScriptManager>
            </form>
            </div>
           
        </div>
        <div class="content" id="content1">
        <form id="ExpertReg" name="ExpertReg" action="#">
        <div id="Div1"  runat="server">
        <input name="action" id="action" type="hidden" value="Expert" />
                   
        <div class="libg" >
            <div class="tle">
                评标专家注册</div>
            <div class="con_nr">
                <div class="buzhou">
                    <ul>
                        <li class="li01">
                            <img src="images/h01.jpg" width="142" height="52" alt="" /></li>
                        <li class="li_arrow">
                            <img src="images/arrow01.jpg" width="35" height="24" alt="" /></li>
                        <li class="li02">
                            <img src="images/02.png" width="142" height="52" alt="" /></li>
                        <li class="li_arrow">
                            <img src="images/arrow02.jpg" width="35" height="24" /></li>
                        <li class="li03">
                            <img src="images/03.png" width="142" height="52" alt="" /></li>
                    </ul>
                    <div class="clear">
                    </div>
                </div>
                <asp:HiddenField ID="hdnexDogid" runat="server" />
                <ul >
                    <li class="con_main">
                        <div class="con_l">工作单位性质</div>
                        <div class="con_r">
                            <div class="qy_type" style="width: auto;">
                                <span class="qy_type_l"></span>
                                <span class="qy_type_r" style="width: 280px;background-position-y: -92px;">
                                    <asp:DropDownList ID="DDLCorpUserType_Expert" Width="276px" runat="server" AutoPostBack="false"
                                        required validationMessage="请选择工作单位性质">
                                    </asp:DropDownList>
                                </span>
                            </div>
                            <div class="zuiyou">
                                <span class="k-invalid-msg" data-for="DDLCorpUserType_Expert"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">库别信息</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <ucDb:ucDb ID="ucDbExp" Name="ucDbExp" runat="server" />
                            </div>
                            <div class="zuiyou">
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            姓名</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                   <input name="Name" id="Name" type="text" style="width: 275px" pattern="[\u4E00-\u9FA5]{2,5}(?:·[\u4E00-\u9FA5]{2,5})*" required validationMessage="请输入姓名" data-pattern-msg="姓名格式错误"/>                                                              
                             </span>
                            </div>
                            <div class="zuiyou">
                              <span class="k-invalid-msg" data-for="Name"></span>
                            </div>
                        </div>
                    </li>
                     <li class="con_main">
                        <div class="con_l">
                            身份证号</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="idCard" id="idCard"  type="text" style="width: 275px" required/></span>
                            </div>
                            <div class="zuiyou">
                              <span class="k-invalid-msg" data-for="idCard"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            工作单位</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                   <input name="excorpName" id="excorpName" type="text" onkeyup="CtoH(this);" style="width: 275px" pattern="^[a-zA-Z\u4e00-\u9fa5()（）]+$" required validationMessage="请输入公司名称" data-pattern-msg="只能输入汉字、字母、小括号"/>                                                              
                             </span>
                            </div>
                            <div class="zuiyou">
                              <span class="k-invalid-msg" data-for="excorpName"></span>
                            </div>
                        </div>
                           <div class="zhuyi">
                    <div class="con_l">
                    </div>
                    <div class="zhuyi_nr" style="width: 265px;">
                    <font color="red">
                       请完整填写单位公章载明的单位名称
                       </font>
                        </div>
                    <div class="clear">
                    </div>
                </div>
                    </li>

<%--                    <li class="con_main">
                        <div class="con_l">
                            所属地</div>
                        <div class="con_r">
                            <div class="qy_usual"><ucArea:ucArea ID="ucAreaExp" Name="ucArea" runat="server" />
                                </div>
                            <div class="zuiyou">

                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            请输入你的用户名</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="exuserName" id="exuserName" type="text" style="width: 275px" required validationMessage="请输入用户名"/></span>
                            </div>
                            <div class="zuiyou">
                           <span class="k-invalid-msg" data-for="exuserName"></span>
                            </div>
                        </div>
                    </li>--%>
                    <li class="con_main">
                        <div class="con_l">
                            设定一个密码</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input id="passWord" name="passWord" type="passWord" style="width: 275px" /></span>
                            </div>
                            <div class="zuiyou">
                            <span class="k-invalid-msg" data-for="passWord"></span>
                            </div>
                        </div>
                        <div class="zhuyi">
                    <div class="con_l">
                    </div>
                    <div class="zhuyi_nr" style="width: 265px;">
                    <font color="red">
                       密码需含字母和数字,至少六位，字母不区分大小写
                       </font>
                        </div>
                    <div class="clear">
                    </div>
                </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            请再次输入密码确认</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="expasswordR" id="expasswordR" type="password" style="width: 275px" /></span>
                            </div>
                            <div class="zuiyou">
                             <span class="k-invalid-msg" data-for="expasswordR"></span>
                            </div>
                        </div>
                    </li>
<%--                    <li class="con_main">
                        <div class="con_l">
                            电子邮箱地址</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="exEmail" id="exEmail" type="email" style="width: 275px;" required validationMessage="请输入邮箱地址" data-email-msg="邮箱格式无效"/></span>
                            </div>
                            <div class="zuiyou">
                             <span class="k-invalid-msg" data-for="exEmail"></span>
                            </div>
                        </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            固定电话</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="exlinkTel" id="exlinkTel" type="text" style="width: 275px;" pattern="(\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$" required validationMessage="请输入联系电话"  data-pattern-msg="无效的联系号码" /></span>
                            </div>
                            <div class="zuiyou">
                            <span class="k-invalid-msg" data-for="exlinkTel"></span>
                            </div>
                        </div>
                    </li>--%>
                    <li class="con_main">
                        <div class="con_l">
                            移动电话</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="exMobile" id="exMobile" type="text" style="width: 275px;" pattern="(\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$" required validationMessage="请输入号码"  data-pattern-msg="号码无效" /></span>
                            </div>
                            <div class="zuiyou">
                            <input id="btnSendVerCode"  type="button" class="bj_btn" value="发送验证码至手机" />
                            <span class="k-invalid-msg" data-for="exMobile"></span>
                            </div>
                        </div>
                        <div class="zhuyi">
                    <div class="con_l">
                    </div>
                    <div class="zhuyi_nr" style="width: 265px;">
                    <font color="red">
                       移动电话用来接收资格申请、变更等所需的验证码，以及专家抽取通知，请务必正确填写
                       </font>
                        </div>
                    <div class="clear">
                    </div>
                </div>
                    </li>
                    <li class="con_main">
                        <div class="con_l">
                            手机验证码</div>
                        <div class="con_r">
                            <div class="qy_usual">
                                <span class="qy_type_l"></span><span class="qy_usual_r">
                                    <input name="exCode" id="exCode" type="text" style="width: 275px;" pattern="^[0-9]{6}$" required validationMessage="请点击发送验证码至手机"  data-pattern-msg="验证码格式不正确" /></span>
                            </div>
                            <div class="zuiyou">
                            <span class="k-invalid-msg" data-for="exCode"></span>
                            </div>
                        </div>
                    </li>
                </ul>
                <div class="zhuyi2">
                    <div class="zhuyi_nr2">
                        <h2><center>申请人承诺</center></h2>
                        
                        <p>我自愿申请山东省建设工程评标专家资格，本人对表格所列内容真实性和有效性负责，并作出如下承诺：</p>
                        <p>1、我认为参加依法组织的建设工程评标工作是公益性活动，可以获取适当的评审费用并尽纳税义务，对评审费用的高低不提出任何过分要求。</p>
                        <p>2、本人健康状况能够满足评标工作的需要，如在到达评标现场及评标过程中，健康状况出现异常，我将及时告知，并申请退出评标工作。如未尽告知义务，所产生后果自行负责。</p>
                        <p>取得评标专家资格后，我承诺：</p>
                        <p>1、认真学习招标投标法律法规和相关专业知识，客观、公正、廉洁、高效地履行评标专家职责。</p><p>2、严格遵守评标工作纪律，保守评标工作秘密，自觉接受住房城乡建设行政主管部门依法实施的监督。</p><p>3、评标过程中，招投标各方主体与本人有有利害关系的，本人将主动申请回避。</p>
                        <p>4、本人专家证书中的CA电子签名，将用于在山东省行政区域内建设工程工程电子招标投标系统对本人评审意见及相关电子表格的确认，并承担相应法律责任。本人对评标专家证书及CA签名信息负有保管责任。如有遗失，将及时与发证机关联系。</p>
                     </div>
                     <div class="clear">
                      
                    </div>
                </div>
                <div class="zhuyi">
                    <div class="con_l">
                    </div>
                    <div class="tongyi" style="padding-top: 4px;">
                        <input id="checkbox" name="checkbox" type="checkbox" value="name" required validationMessage="请接受承诺"  />我已阅读上述注意事项，同意并接受该事项！</div>
                        <span align="center"class="k-invalid-msg" data-for="checkbox"></span>
                        <label id="time"></label>
                    <div class="clear">
                      
                    </div>
                </div>
                <div class="zhuyi">
                    <div class="con_l">
                    </div>
                    <div class="zhuce">
                        <a href="javascript:void(0);">
                           <img id="exbutton"  name="button" src="images/zhuceicon.jpg" width="242" height="54" ischeck="false"  />

                           </a>                                               
                        </div>
                      <div class="goback">

                      <img id="exback" name="back" src="images/back.jpg" alt=""width="102" height="54"  />
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="clear">
                </div>
               
            </div>
            <div>
                <img src="images/foot01.jpg" width="700" height="6" /></div>
        </div>
            </div>
         </form>
            
        </div>
        </div>
        </div>
        <div id="notice">
            <div id="window">
                <p>2014年5月4日 9：00后暂不接受新专家用户注册，完善专家信息,请先进行"专家身份确认"，再进行"专家用户登录"。</p>
            </div>
            <script type="text/javascript">
                $(document).ready(function () {
                    var window = $("#window");
                    if (!window.data("kendoWindow")) {
                        window.kendoWindow({
                            width: "600px",
                            height: "300px",
                            actions: [ "" ],
                            title: "提醒",
                            draggable: false,
                            visible:false,
                            close: function (e) {
                                // close animation has finished playing
                            }
                        });
                    }
                    window.data("kendoWindow").center().open();
                });
            </script>
        </div>

        <ucUserRight:UCUserRight ID="UCUserRight1" runat="server" />
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="WebBlue">
        </telerik:RadWindowManager>
</body>
</html>
